package com.todo.delicacy.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/5 19:54
 * @description
 */
@Data
@Schema(title = "启禁用饭店入参", description = "启禁用饭店入参")
public class EnableRestaurantInfoReq {

private CurrentStaff _staff;
    /**
     * 主键id
     */
    @Schema(title = "主键id", description = "主键id")
    private Long restaurantId;
    /**
     * 开启标识
     */
    @Schema(title = "开启标识", description = "开启标识")
    private Integer enable;

    public boolean baseCheck() {
        if (restaurantId == null || enable == null){
            return false;
        }
        return true;
    }
}
